package de.haw.HESextern.Transport;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class TransportComplex {
	
	public TransportComplex() {
		
	}

	private TransportId id;
	private Boolean delivered;
	
	public TransportId getId() {
		return id;
	}
	
	public Boolean getDelivered() {
		return delivered;
	}
	
	
	
	public void setId(TransportId id) {
		this.id = id;
	}

	public void setDelivered(Boolean delivered) {
		this.delivered = delivered;
	}

	public TransportComplex(TransportId id, Boolean delivered) {
		this.id = id;
		this.delivered = delivered;
	}
	
	public String toString() {
		return "id: " + id.toString() + ", delivered: " + delivered; 
	}
	
}
